package com.david.tvhelperapp.msgdealers

import com.david.tvhelperapp.MsgBean

class VoiceMsgDealer :AMsgDealer(){
    override fun dealMsg(ip:String, msg: String): Boolean {
        if (msg.contains("声音")) {
            return true
        }
        return false
    }

    override fun dealMsg(ip: String, msgBean: MsgBean): Boolean {
        if ("change_volume" == msgBean.actionType) {
            return true
        }
        return false
    }
}